* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#heart {
  margin: 200px 400px;
  display: inline-block;
  position: relative;
  animation: heart .8s infinite alternate;
}

@keyframes heart {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.3);
  }
}

.left {
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 100%;
  right: 100%;
  background-color: red;
  transform: rotate(45deg) translateX(50px);
  border-radius: 50% 0 0 50%;
}

.right {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 100%;
  bottom: 100%;
  background-color: red;
  transform: rotate(45deg) translateY(50px);
  border-radius: 50% 50% 0 0;
}

.bottom {
  width: 100px;
  height: 100px;
  background-color: red;
  transform: rotate(45deg);
}